import request from '../../utils/request'

// 获取房间树
export function getRoomTree() {
  return request({
    url: '/h5/roomEval/getRoomTree',
    method: 'get',
  })
}

// 宿舍评分入库
export function insertScore(data) {
  return request({
    url: '/h5/roomEval/addEvalRecord',
    method: 'post',
    data: data
  })
}


